package com.engineering.elink.videodao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.co.BaseCo;
import com.engineering.elink.domain.VideoSecondaryCategory;

public interface VideoSecondaryCategoryMapper {
    int deleteByPrimaryKey(Integer scId);

    int insert(VideoSecondaryCategory record);

    int insertSelective(VideoSecondaryCategory record);

    VideoSecondaryCategory selectByPrimaryKey(Integer scId);

    int updateByPrimaryKeySelective(VideoSecondaryCategory record);

    int updateByPrimaryKey(VideoSecondaryCategory record);

    List<VideoSecondaryCategory> selectListByTcId(@Param("tcId")Integer tcId,@Param("co") BaseCo co);
    
    Integer countListByTcId(@Param("tcId")Integer tcId);

    Map<String,Object> selectMapByScId(Integer scId);
    
    List<Map<String,Object>> selectMapByTcId(Integer tcId);

    void insertMap(Map<String,Object> map);
      
}